package com.cloudfun.campusshare.repo;

import com.cloudfun.campusshare.entity.CouponEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.Collection;
import java.util.List;

/**
 * Created by CodeGenerator on 2020/06/05
 */
public interface CouponRepo extends PagingAndSortingRepository<CouponEntity, String>, JpaSpecificationExecutor<CouponEntity> {

    List<CouponEntity> findAllByIdIn(Collection<String> ids);

}